package com.zigong.app.beans;

import com.ruihang.generalibrary.ui.util.IListData;
import com.zigong.app.ui.util.IListShowData;

import java.util.List;

/**
 * Created by liuyu on 2017/7/28.
 */

public class HomeLive implements IListShowData {

    private List<LiveItem> liveList;

    private int pos;

    private int viewType;

    @Override
    public String getDataTitle() {
        return null;
    }

    @Override
    public String getDataImg() {
        return null;
    }

    @Override
    public String getDataTag() {
        return null;
    }

    @Override
    public String getDataId() {
        return null;
    }

    @Override
    public int getDataType() {
        return 0;
    }

    @Override
    public int getDataViewType() {
        return viewType;
    }

    @Override
    public IListData getOwner() {
        return null;
    }

    @Override
    public String getTime() {
        return null;
    }

    @Override
    public IListShowData getOwenerData() {
        return null;
    }

    public List<LiveItem> getLiveList() {
        return liveList;
    }

    public void setLiveList(List<LiveItem> liveList) {
        this.liveList = liveList;
    }

    public void setViewType(int viewType) {
        this.viewType = viewType;
    }

    public int getPos() {
        return pos;
    }

    public void setPos(int pos) {
        this.pos = pos;
    }

    public LiveItem getPosItem(){
        return liveList.get(pos);
    }
}
